package com.xunyoutest.shop.config;

import com.xunyoutest.shop.utils.PreferencesUtils;

/**
 * Created by admin on 2018/7/9.
 */

public class Constants {
    //微信
    public static final String WX_APP_ID = "wxd78f30c51be648e0";
    public static final String WX_APP_SIGN= "45c6afe372d255c4c1714656e6195fe0";
    public static final String WX_APP_SECRET = WX_APP_SIGN;
    //支付key
    public static final String WX_API_SECRET = "xunyoutest1808127jdsgsdu90352523";
    //QQ
    public static final String QQ_APP_ID = "1109493944";
    public static final String QQ_APP_KEY = "Wc7QHSz67n9kJKTF";
    //友盟
    public static final String U_MENG_KEY = "5c0a0f2af1f556ab6b00030f";

    //u，k
    public static final String PERM_ID = "perm_id";
    public static final String PERM_KEY = "perm_key";

    /*------------------------------------公用获取U，key的方法--------------------------------------*/
    public static String getPermId() {
        return (String) PreferencesUtils.get(PERM_ID, "");
    }

    public static void setPermId(String permId){
        PreferencesUtils.put(Constants.PERM_ID,permId);
    }

    public static String getPermKey() {
        return (String) PreferencesUtils.get(PERM_KEY, "");
    }

    public static void setPermKey(String permKey){
        PreferencesUtils.put(Constants.PERM_KEY,permKey);
    }
    /*------------------------------------公用获取U，key的方法--------------------------------------*/
}
